<table class="layui-table text-center" lay-size="sm">
    <thead>
        <tr>
            <th><div class="text-left">渠道</div></th>
            <th><div class="text-left">国家</div></th>
            <th><div class="text-left">承诺天数</div></th>
            <th>平均时效/天</th>
            <th>妥投率/%</th>
            <th>超重费</th>
            <th>超长费</th>
            <th>状态</th>
            <th>备注</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
        {volist name="list" id="item"}
            <tr>
                <td class="text-left">{$item.channel}</td>
                <td class="text-left">{$item.country}</td>
                <td class="text-left">{$item.promise_day}天</td>
                <td>{$item.average_aging}天</td>
                <td>{$item.delivery_rate}%</td>
                <td>{$item.over_weight}</td>
                <td>{$item.over_length}</td>
                <td>
                    <a href="{:url('save',['express_country_id'=>$item['express_country_id'],'status'=>$item['status'] ? 0 : 1 ])}" class="ajax-get" msg="1" style="font-size: 16px;">
                        <i class="fa {if $item['status']} fa-unlock {else} fa-lock {/if}"></i></a>
                </td>
                <td class="text-left"></td>
                <td class="text-left">
                    <a href="{:url('info',['express_country_id'=>$item['express_country_id']])}" width-form="80%" height-form="80%" class="layui-btn layui-btn-xs ajax-form" title="配置详情">详情</a>
                    <a href="{:url('add',['express_country_id'=>$item['express_country_id']])}" class="layui-btn layui-btn-xs layui-btn-normal">编辑</a>
                    <a href="{:url('delete',['ids'=>$item['express_country_id']])}" title="删除" confirm="1" class="layui-btn layui-btn-xs layui-btn-danger ajax-get">删除</a>
                </td>
            </tr>
        {/volist}
        {empty name="list"}
        <tr>
            <td colspan="13">没有数据</td>
        </tr>
        {/empty}
    </tbody>
</table>
<div class="page">
    {$page|raw}
</div>
